package com.zr.planclass.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by 86151 on 2019/6/14.
 */
@Data
public class PlanClassUpdateVo {
    @NotNull(message = "修改时，ID不能为空！")
    private Integer id;

    @NotBlank(message = "修改时，名称不能为空！")
    private String name;

    @NotNull(message = "修改时，状态不能为空！")
    private Boolean status;

    private String content;
    @NotNull(message = "修改时，version不能为空！")
    private Integer version;

    private String code;

}
